PublishPress\Future\Modules\Expirator\Models\ExpirablePostModel B

Total Complexity 82
Dependencies 15
Dependents 11
Total lines 764
Lines of code 394
Logical lines of code 202
Comment lines 178
Methods 21
Properties 19

Methods 21

Method Rating Maintainability Complexity Lines of code
sendEmail()
B
33 11 121
expire()
A
43 11 49
getExpirationDateString()
S
57 7 17
getExpirationTaxonomy()
S
57 6 18
syncScheduleWithPostMeta()
S
56 5 18
getPostType()
S
61 5 13
getTitle()
S
61 5 13
getPermalink()
S
61 5 13
getExpirationType()
S
56 4 22
getExpirationCategoryIDs()
S
60 4 14
getExpirationCategoryNames()
S
61 3 13
getExpirationAction()
S
62 3 13
isExpirationEnabled()
S
66 3 9
__construct()
S
57 1 16
getExpirationOptions()
S
72 2 6
getPostTypeSingularLabel()
S
67 2 8
getExpirationDateAsUnixTime()
S
75 1 4
getExpirationDataAsArray()
S
65 1 9
logOnAction()
S
75 1 4
expirationEmailIsEnabled()
S
72 1 6
deleteExpirationPostMeta()
S
68 1 8